package Merlion.util.state;

import java.io.Serializable;
import java.util.List;

public class BillOfMaterialState implements Serializable {

    private Long id;
    private Long productId;
    private String productName;
    private int batchSize;
    private String batchUnit;
    private List<BOMEntryState> entries;

    public BillOfMaterialState(Long id, Long productId, String productName, int batchSize, String batchUnit) {
        this.id = id;
        this.productId = productId;
        this.productName = productName;
        this.batchSize = batchSize;
        this.batchUnit = batchUnit;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }
    
    public int getBatchSize() {
        return batchSize;
    }

    public void setBatchSize(int batchSize) {
        this.batchSize = batchSize;
    }

    public String getBatchUnit() {
        return batchUnit;
    }

    public void setBatchUnit(String batchUnit) {
        this.batchUnit = batchUnit;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public List<BOMEntryState> getEntries() {
        return entries;
    }

    public void setEntries(List<BOMEntryState> entries) {
        this.entries = entries;
    }
}
